package com.ld.control.business.sample.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 样品扩展表
 * </p>
 *
 * @author wangfeng
 * @since 2024-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sample_ext")
@Schema(description = "SampleExtModel对象")
public class SampleExtModel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long sampleId;

    @Schema(description = "设备返回的样品完整信息")
    private String jsonData;


    public static final String ID = "id";

    public static final String SAMPLE_ID = "sample_id";

    public static final String JSON_DATA = "json_data";

}
